package ProjectTeam39.Domains;

public class SystemAdmin extends Doctor {
	AppointmentCalender ac;
	UserList ul;
	public SystemAdmin(String name, String username, String password, long phoneNum, String address, AppointmentCalender ac, UserList ul){
		super(name,username,password,phoneNum,address,ac,ul,"everything");
		this.name = name;
		phoneNumber = phoneNum;
		this.address = address;
		this.ac = ac;
		this.ul = ul;
		this.username = username;
		this.password = password;
	}
	
	public void setPassword(User theUser, String newPassword)
	{
		theUser.setPassword(newPassword);
	}
	
	public void resetPassword(User theUser)
	{
		theUser.resetPassword();
	}
	
	public void suspendAccount(User theUser)
	{
		theUser.suspendAccount();
	}
	
	public void activateAccount(User theUser)
	{
		theUser.activateAccount();
	}
}
